﻿using EPiServer.Core;
using PageTypeBuilder;

namespace JoelAbrahamsson.PageTypes
{
    [PageType]
    public class Article : BasePageData
    {
        public override string ControllerName
        {
            get { return "Article"; }
        }

        [PageTypeProperty(Type = typeof(PropertyString))]
        public virtual string Headline { get; set; }

        [PageTypeProperty]
        public virtual string MainBody { get; set; }
    }
}
